<html>
<body>
<?php
	include_once 'DBManager.php';
	include_once 'Queries.php';
	
	$diaryPost = $_POST["MyDiaryEntry"];
	$authorId = $_POST["AuthorID"];
	
	$q = $new_post_query . " ('" . $authorId . "', NOW(), '" . $diaryPost . "')";
	execute_update($q);			// TODO: handle error scenario - include logging
?>
</body>
</html>